<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../../utils.js"></script>
</head>
<body>
  <button onclick="setCookie()">存cookie</button>
  <button onclick="getCookie()">取cookie</button>
  <script>
    function setCookie () {
    }

    function getCookie () {
      var name = utils.getCookie('name')
      console.log(name)
    }
  </script>
</body>
</html>